package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/AppVersionUploadFile.class */
public class AppVersionUploadFile {
    @ApiModelProperty("主键id")
    private int id;
    @ApiModelProperty("文件")
    private MultipartFile file;

    public void setId(int id) {
        this.id = id;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AppVersionUploadFile)) {
            return false;
        }
        AppVersionUploadFile other = (AppVersionUploadFile) o;
        if (!other.canEqual(this) || getId() != other.getId()) {
            return false;
        }
        Object this$file = getFile();
        Object other$file = other.getFile();
        return this$file == null ? other$file == null : this$file.equals(other$file);
    }

    protected boolean canEqual(Object other) {
        return other instanceof AppVersionUploadFile;
    }

    public int hashCode() {
        int result = (1 * 59) + getId();
        Object $file = getFile();
        return (result * 59) + ($file == null ? 43 : $file.hashCode());
    }

    public String toString() {
        return "AppVersionUploadFile(id=" + getId() + ", file=" + getFile() + PoiElUtil.RIGHT_BRACKET;
    }

    public int getId() {
        return this.id;
    }

    public MultipartFile getFile() {
        return this.file;
    }
}